package com.mark.service;

import com.mark.common.ServerResponse;
import com.mark.pojo.Shipping;

/**
 * Created by Mark on 2018/3/28.
 * 地址模块接口
 */
public interface IShippingService {
    ServerResponse addShipping(Integer currentUserId, Shipping shipping);

    ServerResponse deleteShipping(Integer currentUserId, Integer shippingId);

    ServerResponse updateShipping(Integer currentUserId, Shipping shipping);

    ServerResponse selectShipping(Integer currentUserId, Integer shippingId);

    ServerResponse listShipping(Integer currentUserId, int pageNum, int pageSize);
}
